package com.dao.primary.machine;
import com.model.domain.machine.GetMachineModelInfoDO;
import com.model.pojo.machine.MachineModelInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface MachineModelInfoMapper {
    int deleteByPrimaryKey(@Param("machineModelInfoId") Long machineModelInfoId);

    int insert(MachineModelInfo record);

    int insertSelective(MachineModelInfo record);

    MachineModelInfo selectByPrimaryKey(@Param("modelId") Long modelId);

    int updateByPrimaryKeySelective(MachineModelInfo record);

    int updateByPrimaryKey(MachineModelInfo record);

    List<MachineModelInfo> selectList(GetMachineModelInfoDO getmachineModelInfoDO);

    void insertListSelective(List<MachineModelInfo> machineModelInfoList);

    void updateListSelective(List<MachineModelInfo> machineModelInfoList);

    int has(@Param("machineModelInfoId") Long machineModelInfoId, @Param("isDelete") Byte isDelete);
}